package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverAuditInfoType {
    register(0, "注册"),
    vehicleLicence(1, "行驶证"),
    qualificationCertificate(2, "从业资格证");

    @EnumValue
    private final int code;
    private final String desc;

    DriverAuditInfoType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public int getCode() {
        return code;
    }
}
